Real-time AI pricing.
One API.

Free REST API for real-time pricing across text, image, video, avatar, TTS, and STT AI providers. Open source. Self-hostable.

npm install pricetokenpip install pricetoken
TText$/M tokensIImage$/imageVVideo$/minuteAAvatar$/minuteTTS$/M charsSTT$/minute
W3D / Worldcoming soon
No standard pricing unit exists yet. Providers use credits, subscriptions, or per-generation fees — no apples-to-apples comparison is possible today.
Provider Model Input/MTok Output/MTok ContextFreshness Launched
openaiGPT-5 Nano$0.050$0.400400K7h agoAug 2025
googleGemini 2.5 Flash-Lite$0.100$0.4001049K7h agoJul 2025
openaiGPT-4.1 Nano$0.200$0.8001000K7h agoApr 2025
xaiGrok 4.1 Fast$0.200$0.5002000K7h agoMar 2026
ai21Jamba Mini$0.200$0.400256K7h agoJun 2025
qwenQwQ Plus$0.222$0.556131K7h agoMar 2025
googleGemini 3.1 Flash-Lite Previewpreview$0.250$1.501049K7h agoMar 2026
openaiGPT-4o Mini$0.250$1.00128K7h agoJul 2024
openaiGPT-5 Mini$0.250$2.00400K7h agoAug 2025
deepseekDeepSeek-V3.2 (Non-thinking Mode)$0.280$0.420131K7h agoDec 2025
deepseekDeepSeek-V3.2 (Thinking Mode)$0.280$0.420131K7h agoDec 2025
googleGemini 2.5 Flash$0.300$2.501000K7h agoJun 2025
xaiGrok 3 Mini$0.300$0.500131K7h agoApr 2025
qwenQwen3-Max$0.347$1.39262K7h agoSep 2025
googleGemini 3 Flash Previewpreview$0.500$3.001049K7h agoDec 2025
openaiGPT-4.1 Mini$0.700$2.801000K7h agoApr 2025
anthropicClaude Haiku 4.5$1.00$5.00200K7h agoOct 2025
openaio3 Mini$1.10$4.40200K10h agoJan 2025
googleGemini 2.5 Pro$1.25$10.001049K7h agoJun 2025
openaiGPT-5$1.25$10.00400K7h agoAug 2025
openaiGPT-5.1$1.25$10.00400K7h agoNov 2025
openaiGPT-5.2$1.75$14.00400K7h agoDec 2025
openaiGPT-5.3 Chat Latest$1.75$14.00128K10h agoMar 2026
googleGemini 3.1 Pro Previewpreview$2.00$12.001049K7h agoFeb 2026
ai21Jamba Large$2.00$8.00256K7h agoAug 2025
openaiO4 Mini$2.00$8.00200K7h agoApr 2025
openaiGPT-5.4$2.50$15.001050K7h agoMar 2026
anthropicClaude Sonnet 4.6$3.00$15.00200K7h agoFeb 2026
xaiGrok 3$3.00$15.00131K7h agoApr 2025
xaiGrok 4$3.00$15.00256K7h agoJul 2025
openaiGPT-4.1$3.50$14.001000K7h agoApr 2025
openaiGPT-5.3 Codex$3.50$28.00400K7h agoFeb 2026
openaiO3$3.50$14.00200K7h agoApr 2025
openaiGPT-4o$4.25$17.00128K7h agoMay 2024
anthropicClaude Opus 4.6$5.00$25.00200K7h agoFeb 2026
openaio3 Pro$20.00$80.00200K10h agoJun 2025
openaiGPT-5.4 Pro$30.00$180.001050K7h agoMar 2026

How We Get Our Data

1
Scrape

Puppeteer fetches each provider's official pricing page daily, extracting the raw text content.

2
Extract

An AI agent parses the raw text into structured pricing data — model IDs, prices, and context windows.

3
Verify

Three independent AI agents from different providers cross-check every data point. A model is only accepted when at least two agents agree and the price is consistent with historical data.

4
Store

Verified models are saved as timestamped snapshots in PostgreSQL, so you can track price changes over time.

5
Score

Each model gets a Bayesian confidence score (0–100). We start with a prior based on data source (verified scrape = 0.90, manual seed = 0.55, stale carry-forward = 0.25), then update with evidence: agent consensus, data age, and price stability. The result is a principled, interpretable score that decays naturally as data ages.

While our multi-agent verification catches the vast majority of errors, prices may occasionally be inaccurate. Always verify against the official pricing page before making purchasing decisions.

Missing a provider or found a wrong price? Open an issue or submit a PR.

3D / World Models

We're tracking the emerging world model space. Once providers converge on a standard pricing unit, we'll add full comparisons.

Free REST API

30 requests/hour free. No signup required. JSON responses with CORS enabled.

npm & PyPI Packages

Typed clients for JS/TS and Python. Offline cost calculator and static pricing data. Zero runtime deps.

Open Source

MIT licensed. Self-host on your own infrastructure. Fork and extend.

Trusted by